package com.shop.controller;


import com.shop.common.result.util.ResultModel;
import com.shop.service.ProductPicService;
import com.shop.vo.SelectProductPicVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 商品图片信息表 前端控制器
 * </p>
 *
 * @author 靳 旺
 * @since 2021-01-29
 */
@RestController
@Api(tags = "商品图片信息前端控制器")
@RequestMapping("/product-pic-do")
public class ProductPicController {

    @Autowired
    private ProductPicService productPicService;

    @RequestMapping("selectProductPic")
    @ApiOperation(value = "查询商品图片",notes = "靳旺")
    public ResultModel selectProductPic(@RequestBody SelectProductPicVo selectProductPicVo)throws Exception{
        return productPicService.selectProductPic(selectProductPicVo);
    }


}
